package org.dreamwork.jasmine2.sample.data;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 11-8-8
 * Time: 下午5:13
 */
public class User implements Serializable {
    private int id;
    private String name;
    private Date birthday;
    private Department department;
    private boolean valid;
    private Set<Role> role;

    public Date getBirthday () {
        return birthday;
    }

    public void setBirthday (Date birthday) {
        this.birthday = birthday;
    }

    public Department getDepartment () {
        return department;
    }

    public void setDepartment (Department department) {
        this.department = department;
    }

    public int getId () {
        return id;
    }

    public void setId (int id) {
        this.id = id;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public Set<Role> getRole () {
        return role;
    }

    public void setRole (Set<Role> role) {
        this.role = role;
    }

    public boolean isValid () {
        return valid;
    }

    public void setValid (boolean valid) {
        this.valid = valid;
    }
}